package pl.net.csrv.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Maciek
 * 
 */
@Entity
@Table(name = "Mechanic")
public class Mechanic {

	/**
	 * Id
	 */
	@Id
	@Column(name="ID")
	private Long id;

	/**
	 * Address
	 */
	@Column(name="ADDRESS")
	private String address;

	/**
	 * Phone
	 */
	@Column(name="PHONE")
	private String phone;

	/**
	 * Name
	 */
	@Column(name="NAME")
	private String name;
	/**
	 * Comment
	 */
	@Column(name="M_COMMENT")
	private String comment;

	/**
	 * Gets the id
	 * 
	 * @return Long
	 */
	public Long getId() {
		return id;
	}

	/**
	 * Sets the id
	 * 
	 * @param id
	 *            Long
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * Gets the address
	 * 
	 * @return String
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * Sets the address
	 * 
	 * @param address
	 *            String
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * Gets the phone
	 * 
	 * @return String
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * Sets the phone
	 * 
	 * @param phone
	 *            String
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * Gets the comment
	 * 
	 * @return String
	 */
	public String getComment() {
		return comment;
	}

	/**
	 * Sets the comment
	 * 
	 * @param comment
	 *            String
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}

	/**
	 * Gets the name
	 * 
	 * @return String
	 */
	public String getName() {
		return name;
	}

	/**
	 * Sets the name
	 * 
	 * @param name
	 *            String
	 */
	public void setName(String name) {
		this.name = name;
	}
}
